Skip to main content

Query IBAN Holder Name

Overview

This API verifies whether a provided account holder's name matches the corresponding IBAN. It is typically used to validate recipient information during fund transfers.

API URL

  • UAT (Testing): https://uat.test2pay.com/sgs/api/transfer/getIbanHolderName
  • Production: https://api.payby.com/sgs/api/transfer/getIbanHolderName

Request Parameters

HTTP Headers

Attributes
  • Content-Language String
    • The language for the response message. Defaults to English.
    • Example value: en
    • Maximum length: 10
  • Content-Type String Required
    • Media type of the request body.
    • Required for operations with a request body.
    • Format: application/json
  • sign String Required
    • Request signature using private-key cryptography.
    • Ensures the payment gateway can verify the request origin.
    • Example value: RSA_SIGNATURE_BASE64_STRING
  • Partner-Id String Required
    • Unique partner identifier.
    • Example value: 200001200101
    • Maximum length: 12

HTTP Body

  • requestTime Timestamp Required

    Request time of the order. If the request time is more than 15 minutes away from the current time, the request will be rejected. This parameter is used to prevent repeated requests for orders that should have been cancelled due to timeouts.

    Example value: 1581493898000

  • bizContent Object

    Attributes
    • merchantOrderNo String Required
      • Unique identifier for the merchant's order.
      • Example value: Me23484
      • Maximum length: 64
    • holderName String Required
      • Name of the beneficiary. Transmitted securely (encrypted).
      • Example value: Bruce Lee
      • Maximum length: 100
    • Iban String Required
      • International Bank Account Number. Transmitted securely (encrypted).
      • Maximum length: 34
    • swiftCode String
      • Improves accuracy if provided.
      • Example value: ARABAEADDER
      • Maximum length: 11
    • beneficiaryAddress String
      • Transmitted securely.
        If the bank account is personal, this field is required.
        The combined length of holderName and beneficiaryAddress must not exceed 140 characters, or the transfer may fail.
      • Example value: Liwa Street off Khaliffa Street
      • Maximum length: 100
    • amount Money Required
      • Payment amount for the transaction.
      • Example value: 12.34
    • memo String Required
      • Remarks or notes for the payment.
      • Example value: Bonus
      • Maximum length: 128
    • notifyUrl String
      • URL for receiving backend notifications.
      • Maximum length: 200
    • riskInfo String
      • Extension field in JSON format
      • Example value: {"scene":"casino","level":"hight"}
      • Maximum length: 255

GetIbanHolderNameRequest

  • holderName String(256) Required

    • Encrypted account holder name.
  • iban String(256) Required

    • Encrypted IBAN number.

Request Sample

Http Header
{
"Content-Language": "en",
"Content-Type": "application/json",
"Partner-Id": "200000018128",
"sign": "<signature_string>"
}

Http Body
{
"body": {
"bizContent": {
"holderName": "<encrypted_holder_name>",
"iban": "<encrypted_iban>"
},
"requestTime": 1585142880000
}
}

Response Parameters

HTTP Headers

Attributes
  • Content-Language String
    • The language for the response message. Defaults to English.
    • Example value: en
    • Maximum length: 10
  • Content-Type String Required
    • Media type of the request body.
    • Required for operations with a request body.
    • Format: application/json
  • sign String Required
    • Request signature using private-key cryptography.
    • Ensures the payment gateway can verify the request origin.
    • Example value: RSA_SIGNATURE_BASE64_STRING
  • Partner-Id String Required
    • Unique partner identifier.
    • Example value: 200001200101
    • Maximum length: 12

HTTP Body

  • head ResponseHeader Required

    • Response metadata.
  • body GetIbanHolderNameResponse

    • Core response payload.

    • ibanHolderName IbanHolderName Required

      • Contains the name match result.

Response Sample

Http Header
{
"sign": "<response_signature>"
}

Http Body
{
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"traceCode": "1133"
},
"body": {
"ibanHolderName": {
"holderNameMask": "xxx*** xxx*** xxx***",
"nameMatchingLevel": "1",
"nameMatchingResult": "TRUE"
}
}
}

Return Codes

CodeMessageCauseWorkaround
0SUCCESSSuccess-
400INVALID_PARAMETERInvalid parameterAdjust request parameters.
400REQUESTTIME_TOO_EARLYRequest time is too earlyAdjust request time.
400REQUESTTIME_TOO_LATERRequest time is too lateAdjust request time.
402RATE_LIMIT_REJECTToo many requestsReduce request frequency.
403UNAUTHORIZEDUnauthorized API callContact Botim Money.
404SERVICE_NOT_AVAILABLEAPI service unavailableContact Botim Money.
500SYSTEM_ERRORSystem errorContact Botim Money and retry.
504SERVICE_TIMEOUTService timeoutRetry later.
601RISK_FAILRisk control validation failedAdjust business logic.
62101WRONG_IBAN_FORMATIncorrect IBAN formatCorrect IBAN format.
62102NAME_NOT_FOUNDName not found for IBANUse a valid IBAN.
62103QUERY_API_UNAVAILABLEQuery interface unavailableRetry later.